package com.carleasoft.mps.core.result;

/**
 * 通用成功响应枚举
 *
 * @author Alay
 * @date 2021-07-07 09:04
 * @project jmrh
 */
public enum OkResult implements BaseResult {
    /**
     * 请求成功时响应结果
     */
    SUCCESS("000000", "SUCCESS"),
    ;


    OkResult(String code, String message) {
        this.code = code;
        this.message = message;
    }


    /**
     * 响应码
     */
    private String code;
    /**
     * 响应消息
     */
    private String message;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
